package service.impl;

import dao.EnterpriseDao;
import dao.impl.EnterpriseDaoimpl;
import pojo.Enterprise;
import service.EnterpriceService;

import java.util.ArrayList;

public class EnterpriceServiceimpl implements EnterpriceService {
    EnterpriseDao enterpriseDao=new EnterpriseDaoimpl();
    @Override
    public int insertEnterprise(Enterprise enterprise) {
        return enterpriseDao.insertEnterprise(enterprise);
    }

    @Override
    public ArrayList selectEnterprise(Enterprise enterprise) {
       return null;
    }

    @Override
    public Enterprise selectEnterpriseById(Enterprise enterprise) {
        return enterpriseDao.selectEnterpriseById(enterprise);
    }
}
